package com.htj.erp.model.jpa;
import java.util.List;
import com.htj.erp.model.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.OneToMany;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.CascadeType;

import java.util.Date;
/**
 * 
 *
 * 
 * Delivery
 * delivery
 *
 * chenghongtao
 * 2016-11-08 16:33:14
 * HTJ
 * @version 1.0.0
 *
 */
@Entity
@Table(name = "delivery")
public class Delivery extends BaseEntity {
	
	private static final long serialVersionUID = 1L;
	
	public static Integer STATUS_INIT = 0;
	public static Integer STATUS_SENDING = 1;
	public static Integer STATUS_SENDED = 2;
	
	/**
	*送货日期
	*/
	@Column(name = "SEND_DATE")
	private Date sendDate;
	/**
	*送货人
	*/
	@Column(name = "SENDER")
	private String sender;
	/**
	*备注
	*/
	@Column(name = "REMARK")
	private String remark;
	/**
	*STATUS
	*/
	@Column(name = "STATUS")
	private Integer status;


	/**
	*获取 送货日期
	*/
	public Date getSendDate(){
		return sendDate;
	}
	
	/**
	*设置 送货日期
	*/
	public void setSendDate(Date sendDate){
		this.sendDate = sendDate;
	}
	/**
	*获取 送货人
	*/
	public String getSender(){
		return sender;
	}
	
	/**
	*设置 送货人
	*/
	public void setSender(String sender){
		this.sender = sender;
	}
	/**
	*获取 备注
	*/
	public String getRemark(){
		return remark;
	}
	
	/**
	*设置 备注
	*/
	public void setRemark(String remark){
		this.remark = remark;
	}
	/**
	*获取 STATUS
	*/
	public Integer getStatus(){
		return status;
	}
	
	/**
	*设置 STATUS
	*/
	public void setStatus(Integer status){
		this.status = status;
	}


}